Style props for the spacing of an element.
interface SpacingSetProps extends MarginProps, PaddingProps
margin | OptionalResponsiveProp<MarginProperty<Length>> Sets the margin area on all four sides of an element. It is a shorthand for |
marginBottom | OptionalResponsiveProp<MarginBottomProperty<Length>> Sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer. |
marginLeft | OptionalResponsiveProp<MarginLeftProperty<Length>> Sets the margin area on the left of an element. A positive value places it farther from its neighbors, while a negative value places it closer. |
marginRight | OptionalResponsiveProp<MarginRightProperty<Length>> Sets the margin area on the right of an element. A positive value places it farther from its neighbors, while a negative value places it closer. |
marginTop | OptionalResponsiveProp<MarginTopProperty<Length>> Sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer. |
marginX | OptionalResponsiveProp<MarginProperty<Length>> Sets the margin area on the left and right of an element. A positive value places it farther from its neighbors, while a negative value places it closer. |
marginY | OptionalResponsiveProp<MarginProperty<Length>> Sets the margin area on the top and bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer. |
padding | OptionalResponsiveProp<PaddingProperty<Length>> Sets the padding area on all four sides of an element. It is a shorthand for |
paddingBottom | OptionalResponsiveProp<PaddingBottomProperty<Length>> Sets the height of the padding area on the bottom side of an element. |
paddingLeft | OptionalResponsiveProp<PaddingLeftProperty<Length>> Sets the width of the padding area on the left side of an element. |
paddingRight | OptionalResponsiveProp<PaddingRightProperty<Length>> Sets the width of the padding area on the right side of an element. |
paddingTop | OptionalResponsiveProp<PaddingTopProperty<Length>> Sets the height of the padding area on the top side of an element. |
paddingX | OptionalResponsiveProp<PaddingProperty<Length>> Sets the width of the padding area on the left and right sides of an element. |
paddingY | OptionalResponsiveProp<PaddingProperty<Length>> Sets the height of the padding area on the top and bottom sides of an element. |